/**
 * 系统信息
 */
export interface SystemInfo {
  os: {
    system: string;
    release: string;
    version: string;
    machine: string;
    processor: string;
  };
  hardware: {
    cpu: {
      cores: number;
    };
    disk: {
      total: string;
      used: string;
      free: string;
      percent: string;
    };
  };
}

/**
 * 环境配置
 */
export interface EnvConfig {
  FORCE_HTTPS: boolean;
  STATIC_CDN_HOST: string;
}

/**
 * 仪表盘数据
 */
export interface DashboardData {
  user_count: number;
  recent_contest_count: number;
  today_submission_count: number;
  judge_server_count: number;
  system_info: SystemInfo;
  env: EnvConfig;
}

/**
 * 仪表盘响应
 */
export interface DashboardResponse {
  code: number;
  data: DashboardData;
} 